home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
dmail11d.zip
/
DMXFER.ZIP
/
DMXFER2.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-10-19
|
2KB
|
44 lines
@echo off
rem DATAMAIL File Transfer Batch #2
rem This Batch file Sends/Receives via ZModem-90 MobyTurbo
rem Sends are performed with "Crash Recovery" turned on.
rem Receives do not handle "Crash Recovery"
rem
rem *******************************************************************
rem
rem parameters to batch file:
rem 1: R = Recieve a file (User is uploading)
rem S = Send a file (User is downloading)
rem 2: Full Drive:\Path\Filename.Ext to send/receive
rem 3: Communications port in use (1=COM1, 2=COM2, etc.)
rem 4: DTE/DCE bps rate (BBS PC-to-BBS Modem bps rate)
rem 5: Modem/Modem bps rate (BBS Modem-to-User Modem bps rate)
rem 6: UART Base address in hex. (for non-standard COMx Sysops)
rem 7: UART Base address in dec. (for non-standard COMx Sysops)
rem 8: IRQ Number (for non-standard COMx Sysops)
rem
rem *******************************************************************
rem
rem Place any set-up/initialization work here... Delete these lines if none
rem
rem *******************************************************************
rem
if %1! == R! goto RECEIVE
:SEND
DSZ port %3 speed %4 ha cts D sz -r -rr -m %2
goto TERMINUS
:RECEIVE
DSZ port %3 speed %4 ha cts D rz -m %2
if ERRORLEVEL == 1 goto ERROR
goto TERMINUS
:ERROR
if exist %2 del %2
:TERMINUS
rem
rem *******************************************************************
rem
rem Place any wrap-up/termination work here... Delete these lines if none
rem
rem *******************************************************************
rem